/**
 * 登录
 */
import { request } from '@/utils/request'
import type { User } from '@/types/login'
/**
 * 手机号密码登录
 * @param formData
 * @returns
 */
export const loginByPass = (formData: { mobile: string; password: string }) =>
  request.post<any, User>('/login/password', formData)
